package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author Hayson
 * @since 2021/7/5 23:44
 */
@Data
@Accessors(chain = true)
@TableName(value = "t_verify_code")
public class TVerifyCode {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "mobile")
    private String mobile;

    @TableField(value = "code")
    private String code;

    @TableField(value = "add_time")
    private LocalDateTime addTime;

    @TableField(value = "expire_time")
    private LocalDateTime expireTime;

    @TableField(value = "curr_date")
    private LocalDate currDate;

    @TableField(value = "`count`")
    private Integer count;
}